public class MBankExceptions extends Exception {
	private static final long serialVersionUID = 1L;
	private String errMessage;

	public MBankExceptions(String errMessage) {
		this.errMessage = errMessage;
	}

	public String getMessage() {
		return errMessage;
	}

	public void printErrMsg() {
		System.err.println(getMessage());
	}
}
